﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>${title}</title>
<meta http-equiv="Content-type" content="text/html;" charset="gb2312" />
<style type="text/css">
body{background:#ccc}
body,dt,dd,a{ font-family:微软雅黑; font-size: 12px; text-decoration:none;color:#333333}
.wrap{ clear:both;}
 .channel{text-indent:36px;}
 .channel a{font-size:16px; font-weight:bold;}
 .category a{ font-size:14px; font-weight:bold;}
 .article{width:30%;float:left;line-height:24px;}
 </style>
</head>
<body>
#foreach($channel in $channels)
<div class="wrap">
  <dl>
    <dt class="channel"><a href="$lang.GetAbsolutePath($channel.lang)${html.url('list',$channel.name)}">${channel.title}</a></dt>
  </dl>
  #foreach($category in $biz.GetCategorysByPid($channel.name,0))
  #if($channel.show_category==1)
  <dl>
    <dd class="category"> <a href="$lang.GetAbsolutePath($channel.lang)${html.url('list',$channel.name,$category.id)}">${category.title}</a></dd>
  </dl>
  #end
  #foreach($article in $biz.GetList($category.id))
  <dl>
    <dd class="article"> <a href="$lang.GetAbsolutePath($channel.lang)${html.url('show',$article.id)}">${article.title}</a></dd>
  </dl>
  #end
  <div style="clear:both"></div>
  #end

</div>
#end
</body>
</html>
